package com.aurora.demo.util;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class Result<T> implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("状态码")
    private int resultCode;

    @ApiModelProperty("状态信息")
    private String message;

    @ApiModelProperty("返回数据")
    private T data;
}
